.topic-setting-popover {
    width: 226px;
    overflow: hidden;
    border-radius: 8px;
    padding: 3px;
}

.setting-item-row-border {
    width: calc(100% - 12px);
    height: 1px;
    border-bottom: 1px solid #eee;
    margin: 0 6px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.setting-item-row {
    width: 100%;
    height: 36px;
    cursor: pointer;
    transition: all ease 0.25s;
    border-radius: 5px;
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    padding: 0 10px;
    user-select: none;

    .setting-item-row-left {
        justify-content: flex-start;
        align-items: center;

        .setting-item-row-icon {
            width: 20px;
            height: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 3px;
            pointer-events: none;
            font-weight: 500;
            padding-right: 3px;

            i {
                font-size: 14px;
            }
        }

        .setting-item-row-title {
            flex: 1;
            font-size: 14px;
            color: #262626;
            text-align: left;
        }
    }

    .setting-item-row-right-icon {
        width: 24px;
        height: 24px;
        display: flex;
        justify-content: flex-end;
        align-items: center;

        i {
            font-size: 14px;
            color: #262626;
            transform: rotateZ(-90deg);
        }
    }
}

.setting-item-row:hover {
    background-color: #f2f2f2;
}

.insert-tools-popover {
    width: 182px;
    overflow: hidden;
    border-radius: 8px;
    padding: 3px;

    .insert-tools-popover-title {
        width: 100%;
        height: 32px;
        justify-content: flex-start;
        align-items: center;
        padding-left: 12px;
        font-size: 14px;
        color: #262626;
        border-bottom: 1px solid #eee;
        margin-bottom: 3px;
    }

    .insert-tools-content {
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;

        .insert-tools-item {
            width: 58px;
            height: 64px;
            flex-shrink: 0;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            border-radius: 5px;
            transition: all ease 0.25s;

            .insert-tools-item-icon {
                width: 28px;
                height: 28px;
                display: flex;
                justify-content: center;
                align-items: center;
                border: 1px solid #337de564;
                border-radius: 3px;
                // transform: scale(0.6) translateY(-3px);
            }

            .insert-tools-item-name {
                font-size: 12px;
                margin-top: 6px;
            }
        }

        .insert-tools-item:hover {
            background-color: #f2f2f2;
        }
    }
}

.excel-theme-popover {
    width: 453px;
    height: 500px;


    .excel-theme-popover-content {
        flex: 1;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        align-content: flex-start;
        padding-top: 13px;
        padding-left: 13px;

        .excel-theme-item {
            width: 133px;
            height: 180px;
            box-shadow: 0 0px 0px 0px rgba(0, 0, 0, 0);
            border: 1px solid #e7e9e8;
            background-color: #fff;
            flex-shrink: 0;
            margin-right: 12px;
            margin-bottom: 12px;
            border-radius: 3px;
            cursor: pointer;
            transition: all ease 0.25s;

            .excel-theme-item-preview {
                width: 100%;
                flex: 1;
            }

            .excel-theme-item-name {
                width: 100%;
                height: 32px;
                border-top: 1px solid #e7e9e8;
                justify-content: center;
                align-items: center;
                font-size: 14px;
                color: #303133;
            }
        }

        .excel-theme-item:hover {
            box-shadow: 0 3px 8px 2px rgba(0, 0, 0, 0.099);
        }
    }

    .excel-theme-popover-footer {
        width: 100%;
        height: 42px;
        border-top: 1px solid #d9d9d9;
        justify-content: flex-end;
        align-items: center;
        padding-right: 15px;
    }
}

.symbol-popover {
    width: 439px;
    height: 230px;
    overflow: hidden;
    border-radius: 8px;
    padding: 3px;
}

.symbol-content {
    width: 100%;
    height: 176px;
    margin-top: -18px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    overflow-y: auto;
    padding: 5px;
    align-content: flex-start;
}

.symbol-content-item {
    width: 24px;
    height: 28px;
    flex-shrink: 0;
    font-size: 14px;
    cursor: pointer;
    transition: all ease 0.25s;
    margin: 3px;
    border-radius: 5px;
    text-align: center;
    justify-content: center !important;
    align-items: center;
}

.symbol-content-item:hover {
    background-color: #f1f1f1;
}

.brabch-box {
    width: 240px;
    padding: 6px 4px;

    .brabch-content-item {
        width: 100%;
        height: 40px;
        padding: 0 16px;
        border-radius: 5px;
        justify-content: space-between;
        cursor: pointer;
    }

    .brabch-content-item:hover {
        background-color: #f2f2f2;
    }

    .brabch-content-line {
        width: 100%;
        height: 1px;
        background-color: #f0f0f0;
        margin: 6px 0;
    }

    .brabch-content-list {
        width: 100%;
        height: 40px;
        padding: 0 16px;
        border-radius: 5px;
        cursor: pointer;
    }

    .brabch-content-list:hover {
        background-color: #f2f2f2;
    }
}

.brabch-content-text {
    font-size: 15px;
    color: #3D3D3D;
    margin-left: 10px;
}


.avatar-box {
    width: 296px;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;

    .avatar-item-box {
        width: 70px;
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        cursor: pointer;
        position: relative;

        .avatar-item-badge {
            position: absolute;
            top: 8px;
            right: 12px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background-color: red;
            display: flex;
            justify-content: center;
            align-items: center;

            .avatar-item-badge-delete {
                width: 9px;
                height: 2px;
                background-color: #fff;
                border-radius: 2px;
            }
        }

        .avatar-item-img {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            overflow: hidden;
            margin-top: 10px;

            .avatar-item-img-box {
                width: 100%;
                height: 100%;
            }
        }

        .avatar-item-name {
            font-size: 14px;
            color: #3D3D3D;
            font-weight: 500;
            margin: 8px 0 5px 0;
        }

        .avatar-item-type {
            font-size: 12px;
            color: #646464;
        }

        .avatar-item-img-add {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background-color: #0f6432;
            overflow: hidden;
            margin-top: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .avatar-item-add {
            font-size: 14px;
            color: #3D3D3D;
            margin-top: 8px;
        }

    }
}


.select-popover {
    height: auto;
    border-radius: 8px;
    padding: 3px;
    overflow: hidden;

    .select-popover-item {
        width: 120px;
        height: 36px;
        transition: all ease 0.25s;
        padding: 0 12px;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .select-popover-item:hover {
        background-color: #f2f2f2;
    }

    .select-popover-item.active {
        background-color: #e6f4ff;
    }
}

.modal-handle-cancel {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.modal-input-name {
    font-size: 15px;
    color: #3D3D3D;
    margin: 20px 0 8px 0;
}

.modal-content-box {
    width: 100%;
    height: 90px;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;

    .modal-content-left-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;

        .modal-content-left {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            font-size: 16px;
            font-weight: 500;
            color: #3D3D3D;
        }

        .modal-content-use-text {
            font-size: 15px;
            color: #3D3D3D;
            margin: 4px 0 0 32px;
        }
    }

    .modal-normal-font {
        font-size: 20px;
        cursor: pointer;
    }
}

.branch-version-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 260px;
}

:where(.css-dev-only-do-not-override-2nyyex).ant-popconfirm .ant-popconfirm-buttons {
    width: 0;
    height: 0;
}

:where(.css-dev-only-do-not-override-2nyyex).ant-popconfirm .ant-popconfirm-description {
    padding: 0;
    margin: 0;
}

:where(.css-dev-only-do-not-override-2nyyex).ant-popover .ant-popover-inner {
    padding: 6px 4px;
}

:where(.css-dev-only-do-not-override-2nyyex).ant-popconfirm .ant-popconfirm-message {
    margin: 0;
}

:where(.css-dev-only-do-not-override-2nyyex).ant-popconfirm .ant-popconfirm-inner-content {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.branch-version-item {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.branch-version-icon {
    font-size: 18px;
}

.branch-version-text {
    font-size: 15px;
    margin-left: 8px;
}

.branch-version-main-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 18px;
    border: 1px solid #0f6432;
    background-color: rgba(51, 126, 230, 0.20);
    font-size: 12px;
    margin-left: 6px;
    border-radius: 3px;
    color: #0f6432;
}

.branch-version-item:hover {
    color: #0f6432;

    .branch-version-main-btn {
        background-color: #0f6432;
        color: #fff;
    }
}

.export-box {
    padding: 12px 18px;

    .export-box-title {
        font-size: 14px;
        color: #262626;
        margin-top: 12px;
    }

    .export-box-desc {
        font-size: 12px;
        color: #555;
        margin-top: 5px;
    }
}

.table-popover-box {
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.table-set-up-title {
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

.table-build-box {
    width: calc(100% - 20px);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    // height: 400px;
    // border: 1px solid #333;
    margin: 0px 10px 10px 10px;
}

.table-grid-items {
    width: 32px;
    height: 32px;
    border: 2px solid #333;
    margin: 0 3px 6px 3px;
}

.table-build-custom {
    width: 100%;
    height: 42px;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 16px;
    padding: 0 10px;
    border-radius: 5px;
    cursor: pointer;
}

.table-build-custom:hover {
    // background-color: #f2f2f2;
    color: #0f6432;
}

.table-build-custom-icon {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #337de564;
    border-radius: 3px;
    margin-right: 6px;
}


.canorical-me-popover {
    width: 300px;
    min-height: 299px;
    max-height: 400px;
    background-color: #fff;

    .canorical-me-popover-content {
        position: relative;
        width: 100%;
        flex: 1;
        flex-wrap: wrap;
        display: flex;
        // background-color: red;
        overflow-y: auto;
        padding-left: 12px;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 12px;
        align-content: flex-start;

        // background-color: red;
        .canorical-me-popover-empty {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            // background-color: red;
            margin-top: 42px;
        }

        .species-name-tag {
            margin-bottom: 12px;
            overflow: hidden;
            flex-shrink: 0;
        }

    }

    .canorical-me-popover-footer {
        width: 100%;
        justify-content: center;
        align-items: center !important;
        // margin-top: 12px;
        padding: 12px 0;
        box-sizing: border-box;
    }
}

.link-text {
    font-size: 14px;
    color: #0f6432;
    cursor: pointer;
}

.link-text:hover {
    text-decoration-line: underline;
    // textdec
}

.table-build-custom-upload {
    position: absolute;
    bottom: -3px;
    right: -4px;
    border-radius: 50%;
    font-size: 8px;
    width: 12px;
    height: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0f6432;
    border: 1px solid #0f6432;
    background-color: #fff;
}

.cell-border-select-container {
    width: 100%;
    padding: 4px 0;
    min-width: 68px;
    flex-shrink: 0;
    box-sizing: border-box;

    .cell-border-select-item {
        width: calc(100% - 8px);
        height: 36px;
        transition: all ease 0.25s;
        padding: 0 12px;
        margin: 0 4px;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 172px;

        .cell-border-select-item-left {
            flex: 1;
            height: 100%;
            justify-content: flex-start;
            align-items: center;

            .cell-border-select-item-icon {
                width: 22px;
                height: 100%;
                justify-content: center;
                align-items: center;
                margin-right: 3px;
                display: flex;
                justify-content: center;
                align-items: center;

                // padding-right: 3px;
                i {
                    font-size: 14px;
                }
                .cell-border-color {
                    width: 18px;
                    height: 3px;
                }
            }
        }

        .cell-border-select-item-right {
            i {
                font-size: 14px;
                color: #303133;
            }

        }
    }

    .cell-border-select-item.hover {
        background-color: #f2f2f2;
    }

    .cell-border-select-border {
        width: calc(100% - 12px);
        height: 1px;
        border-bottom: 1px solid #e9e9e9;
        margin-top: 3px;
        margin-bottom: 3px;
    }

    .cell-border-select-item:hover {
        background-color: #f2f2f2;
    }

    .cell-border-select-item.active {
        background-color: #e6f4ff;
    }
}


.sub-color-picker-popover {
    position: fixed;
    top: 96px;
    left: 800px;
    // background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0px 0px 0px rgba(0, 0, 0, 0);
    border: 1px solid #e7e9e8;
    transition: all ease 0.2s;
    transform: scaleX(0.6);
    transition-delay: 0ms;
    transform-origin: left;
    transition-duration: 200ms;
    opacity: 0;
    z-index: -1;
    font-feature-settings: 'tnum';
    font-variant: 'tabular-nums';
    overflow: hidden;
}

.sub-color-picker-popover.show {
    transform: scaleX(1);
    opacity: 1;
    z-index: 9999999;
    box-shadow: 0 8px 16px 4px rgba(0, 0, 0, 0.099);
}

.excel-grid-setting-popover {
    width: 260px;
    height: 172px;
    background-color: #fff;
    padding-top: 6px;
    justify-content: flex-start;
    align-items: center;

    .excel-grid-setting-popover-content {
        width: 100%;
        flex: 1;
        justify-content: center;
        align-items: center;
        padding-top: 12px;
    }

    .excel-grid-setting-popover-footer {
        width: 100%;
        height: 42px;
        border-top: 1px solid #d9d9d9;
        justify-content: flex-end;
        align-items: center;
        padding-right: 15px;
    }
}

.cell-border-eg {
    width: 72px;
    height: 5px;
    justify-content: space-between!important;
    align-items: center;
    transform: scaleY(0.75);
    .cell-border-dash {
        width: 16px;
        height: inherit;
        background-color: #000;
        // transform: scaleY(0.75);
    }
    .cell-border-dot{
        width: 4px;
        height: inherit;
        background-color: #000;
    }
}

.other-expenses-item {
    justify-content: flex-start;
    align-items: center;
    padding-left: 12px;
    margin-top: 12px;
    z-index: 999999;
    user-select: auto;
    .other-expenses-item-name {
        font-size: 14px;
        color: #301333;
        margin-right: 10px;
        font-weight: 700;
        width: 138px;
        text-align: right;
    }

    .other-expenses-item-input {
        width: 98px;
        margin-right: 12px;
    }
}


.other-expenses-popover-footer {
    width: 100%;
    height: 42px;
    border-top: 1px solid #d9d9d9;
    justify-content: flex-end!important;
    align-items: center;
    padding-right: 15px;
}
